assign initial UACN throughout the stack
This commit is contained in:
parent
6c20317de3
commit
82f5a61cb2
|
@ -39,6 +39,8 @@ namespace ACN {
|
||||||
Appliance::Appliance(UUID::uuid cid)
|
Appliance::Appliance(UUID::uuid cid)
|
||||||
: Component(cid)
|
: Component(cid)
|
||||||
{
|
{
|
||||||
|
assignUserName("libESTA ACN Appliance");
|
||||||
|
|
||||||
RlpRegisterVectorHandler(SDT::SDT_PROTOCOL_ID,
|
RlpRegisterVectorHandler(SDT::SDT_PROTOCOL_ID,
|
||||||
std::bind(&Appliance::SdtReceiver, this,
|
std::bind(&Appliance::SdtReceiver, this,
|
||||||
std::placeholders::_1));
|
std::placeholders::_1));
|
||||||
|
|
|
@ -32,16 +32,6 @@
|
||||||
#include <memory>
|
#include <memory>
|
||||||
#include <vector>
|
#include <vector>
|
||||||
|
|
||||||
// appliance: In DDL an appliance is a piece of equipment described by a root
|
|
||||||
// device and all its children and descendents. In DMP systems an appliance
|
|
||||||
// corresponds to a component that exposes one or more devices (since the
|
|
||||||
// rules require that all devices are descendants of a single root device).
|
|
||||||
// See also root device.
|
|
||||||
|
|
||||||
// component: The process, program or application corresponding to a single ACN
|
|
||||||
// endpoint. All messages in ACN are sent and received by a component. See
|
|
||||||
// [Arch] for a more complete definition.
|
|
||||||
|
|
||||||
// root device: An instance of a device described in DDL that has no parent
|
// root device: An instance of a device described in DDL that has no parent
|
||||||
// device. See also appliance.
|
// device. See also appliance.
|
||||||
|
|
||||||
|
@ -50,6 +40,12 @@ namespace ACN {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief The Appliance class
|
* @brief The Appliance class
|
||||||
|
* In DDL an appliance is a piece of equipment described by a root device and
|
||||||
|
* all its children and descendents. In DMP systems an appliance corresponds
|
||||||
|
* to a component that exposes one or more devices (since the rules require
|
||||||
|
* that all devices are descendants of a single root device).
|
||||||
|
*
|
||||||
|
* See also root device.
|
||||||
*/
|
*/
|
||||||
class Appliance
|
class Appliance
|
||||||
: public Component
|
: public Component
|
||||||
|
|
|
@ -29,7 +29,11 @@
|
||||||
namespace ACN {
|
namespace ACN {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief 2.1. ACN Components and Component Identifiers (CIDs)
|
* @brief The Component class
|
||||||
|
* The process, program or application corresponding to a single ACN endpoint.
|
||||||
|
* All messages in ACN are sent and received by a component.
|
||||||
|
*
|
||||||
|
* See [Arch] for a more complete definition.
|
||||||
*/
|
*/
|
||||||
class Component {
|
class Component {
|
||||||
public:
|
public:
|
||||||
|
|
|
@ -5,7 +5,7 @@ namespace SACN {
|
||||||
Node::Node(UUID::uuid cid)
|
Node::Node(UUID::uuid cid)
|
||||||
: Appliance(cid)
|
: Appliance(cid)
|
||||||
{
|
{
|
||||||
|
assignUserName("libESTA sACN Node");
|
||||||
}
|
}
|
||||||
|
|
||||||
} // SACN
|
} // SACN
|
||||||
|
|
|
@ -35,6 +35,8 @@ namespace SACN {
|
||||||
Receiver::Receiver(UUID::uuid cid)
|
Receiver::Receiver(UUID::uuid cid)
|
||||||
: Appliance(cid)
|
: Appliance(cid)
|
||||||
{
|
{
|
||||||
|
assignUserName("libESTA sACN Receiver");
|
||||||
|
|
||||||
RlpRegisterVectorHandler(VECTOR_ROOT_E131_DATA,
|
RlpRegisterVectorHandler(VECTOR_ROOT_E131_DATA,
|
||||||
std::bind(&Receiver::dataReceiver, this, std::placeholders::_1));
|
std::bind(&Receiver::dataReceiver, this, std::placeholders::_1));
|
||||||
RlpRegisterVectorHandler(VECTOR_ROOT_E131_EXTENDED,
|
RlpRegisterVectorHandler(VECTOR_ROOT_E131_EXTENDED,
|
||||||
|
|
|
@ -32,7 +32,7 @@ namespace SACN {
|
||||||
Source::Source(UUID::uuid cid)
|
Source::Source(UUID::uuid cid)
|
||||||
: Appliance(cid)
|
: Appliance(cid)
|
||||||
{
|
{
|
||||||
|
assignUserName("libESTA sACN Source");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue