Singleton node for Ios abstraction management. More...
Singleton node for Ios abstraction management.
Public Member Methods | |
void | RegisterIoTechnology (BaseConceptFactory &factory) |
Register an Io Technology class. More... | |
IoTechnologyList & | GetIoTechnologyList () |
Gets the Technologies List. More... | |
IoMapping & | GetIoMapping () |
Gets the mapping List. More... | |
IReferenceList< InputOutput > & | GetInputOutputList () |
Gets the Ios List. More... | |
void | ClearConfiguration () |
Clears the configuration. More... | |
void | LoadXmlConfiguration (Stream &stream, IMessageCollector *messages=NULL) |
Load the technologies and mappings configuration. More... | |
void | LoadConfiguration (IDataStore &dataStore, IMessageCollector *messages=NULL) |
Load the technologies and mappings configuration. More... | |
void | SaveConfiguration (IDataStore &dataStore) |
Save the technologies and mappings configuration. More... | |
void | SaveXmlConfiguration (Stream &stream) |
Save the technologies and mappings configuration. More... | |
bool | Map (IMessageCollector *messages=NULL) |
Map all Ios with the given configuration. More... | |
void | GenerateTemplateMapping (IDataStore &dataStore) |
Generate a template of technologies and mappings configuration. More... | |
void | GenerateXmlTemplateMapping (Stream &stream) |
Generate a template of technologies and mappings configuration. More... | |
void | Activate () |
Activate all IoTechnologies involed in the mappings. More... | |
void | Deactivate () |
Deactivate all IoTechnologies involed in the mappings. More... | |
bool | IsConfigurationLoaded () const |
Query if the configuration is loaded. More... | |
bool | IsMapped () const |
Query if the mapping has been a success. More... | |
void | Invoke (const DynamicInvocationRequest &request, DynamicInvocationResult &result) |
Invokes the object fields and methods. More... | |
Static Public Member Functions | |
static bool | GetSimulation () |
Query if the simulation has been a activated on the InputOutputSystem (global simulation). More... | |
static void | SetSimulation () |
Activate simulation globally on the InputOutputSystem. More... | |
Static Public Member Functions inherited from Singleton< InputOutputSystem > | |
static InputOutputSystem * | GetInstancePointer () |
Gets the instance pointer. More... | |
static InputOutputSystem & | GetInstance () |
Gets the instance. More... | |
static void | DeleteInstance (bool allowNewCreation=false) |
Deletes the instance. More... | |
static bool | IsCreated () |
Query if the singleton instance has already been created. More... | |
void Activate | ( | ) |
Activate all IoTechnologies involed in the mappings.
void ClearConfiguration | ( | ) |
Clears the configuration.
void Deactivate | ( | ) |
Deactivate all IoTechnologies involed in the mappings.
void GenerateTemplateMapping | ( | IDataStore & | dataStore | ) |
Generate a template of technologies and mappings configuration.
dataStore | DataStore where to store. |
void GenerateXmlTemplateMapping | ( | Stream & | stream | ) |
Generate a template of technologies and mappings configuration.
stream | Stream where to write. |
IReferenceList<InputOutput>& GetInputOutputList | ( | ) |
Gets the Ios List.
IoMapping& GetIoMapping | ( | ) |
Gets the mapping List.
IoTechnologyList& GetIoTechnologyList | ( | ) |
Gets the Technologies List.
|
static |
Query if the simulation has been a activated on the InputOutputSystem (global simulation).
|
inlinevirtual |
Invokes the object fields and methods.
request | The request. |
result | [in,out] The result. |
Dynamic Invocation on IInvocable objects enables us to have remote access on published fields and methods.
Implements IInvocable.
bool IsConfigurationLoaded | ( | ) | const |
Query if the configuration is loaded.
bool IsMapped | ( | ) | const |
Query if the mapping has been a success.
void LoadConfiguration | ( | IDataStore & | dataStore, |
IMessageCollector * | messages = NULL |
||
) |
Load the technologies and mappings configuration.
dataStore | Datastore source content. |
messages | (Optional) Messages diagnostic. Default = NULL. |
void LoadXmlConfiguration | ( | Stream & | stream, |
IMessageCollector * | messages = NULL |
||
) |
Load the technologies and mappings configuration.
stream | Stream source of the Xml content. |
messages | (Optional) Messages diagnostic. Default = NULL. |
bool Map | ( | IMessageCollector * | messages = NULL | ) |
Map all Ios with the given configuration.
messages | (Optional) Messages diagnostic. Default = NULL. |
void RegisterIoTechnology | ( | BaseConceptFactory & | factory | ) |
Register an Io Technology class.
factory | The Io Technology class factory. |
void SaveConfiguration | ( | IDataStore & | dataStore | ) |
Save the technologies and mappings configuration.
dataStore | Datastore where to store. |
void SaveXmlConfiguration | ( | Stream & | stream | ) |
Save the technologies and mappings configuration.
stream | Stream where to store. |
|
static |
Activate simulation globally on the InputOutputSystem.