some typos
This commit is contained in:
parent
8d4bc62fbe
commit
31a112acaa
6 changed files with 29 additions and 27 deletions
|
|
@ -42,8 +42,8 @@
|
|||
|
||||
|
||||
|
||||
namespace asset
|
||||
{
|
||||
namespace asset {
|
||||
|
||||
|
||||
class Proc;
|
||||
class ProcFactory;
|
||||
|
|
@ -92,7 +92,7 @@ namespace asset
|
|||
|
||||
|
||||
/**
|
||||
* Factory specialized for createing Processor Asset objects.
|
||||
* Factory specialised for creating Processor Asset objects.
|
||||
*/
|
||||
class ProcFactory : public lumiera::Factory<asset::Proc>
|
||||
{
|
||||
|
|
|
|||
|
|
@ -82,7 +82,7 @@ namespace asset
|
|||
|
||||
|
||||
/** Factory method for Structural Asset instances.
|
||||
* First tries to relove the asset by issuing an capability query.
|
||||
* First tries to resolve the asset by issuing an capability query.
|
||||
* If unsuccessful, use some internally specialised ctor call.
|
||||
* @todo work out the struct asset naming scheme!
|
||||
* @return an Struct smart ptr linked to the internally registered smart ptr
|
||||
|
|
@ -144,8 +144,7 @@ namespace asset
|
|||
#include "proc/asset/pipe.hpp"
|
||||
|
||||
|
||||
namespace asset
|
||||
{
|
||||
namespace asset {
|
||||
|
||||
template P<Pipe> StructFactory::operator() (const Query<Pipe>& query);
|
||||
template P<Track> StructFactory::operator() (const Query<Track>& query);
|
||||
|
|
|
|||
|
|
@ -49,8 +49,8 @@
|
|||
|
||||
|
||||
|
||||
namespace asset
|
||||
{
|
||||
namespace asset {
|
||||
|
||||
using std::string;
|
||||
using std::wstring;
|
||||
using boost::scoped_ptr;
|
||||
|
|
@ -108,7 +108,7 @@ namespace asset
|
|||
|
||||
|
||||
/**
|
||||
* Factory specialized for createing Structural Asset objects.
|
||||
* Factory specialised for creating Structural Asset objects.
|
||||
*/
|
||||
class StructFactory : public lumiera::Factory<asset::Struct>
|
||||
{
|
||||
|
|
|
|||
|
|
@ -79,7 +79,7 @@ namespace asset
|
|||
|
||||
|
||||
/**
|
||||
* Implementation deatils, esp. concerning how configuration
|
||||
* Implementation details, especially concerning how configuration
|
||||
* queries are resolved and when to create new objects automatically.
|
||||
* @todo better use a general struct traits class, esp.for creating the Ident
|
||||
*/
|
||||
|
|
|
|||
|
|
@ -183,16 +183,19 @@ namespace asset {
|
|||
}
|
||||
|
||||
|
||||
void
|
||||
recursive_call (AssetManager* instance, PAsset& pA)
|
||||
{
|
||||
instance->remove (pA->getID());
|
||||
}
|
||||
|
||||
function<void(PAsset&)>
|
||||
detach_child_recursively () ///< @return a functor recursively invoking remove(child)
|
||||
{
|
||||
return bind( &recursive_call, &AssetManager::instance(), _1 );
|
||||
namespace { // details implementing AssetManager::remove
|
||||
|
||||
void
|
||||
recursive_call (AssetManager* instance, PAsset& pA)
|
||||
{
|
||||
instance->remove (pA->getID());
|
||||
}
|
||||
|
||||
function<void(PAsset&)>
|
||||
detach_child_recursively () ///< @return a functor recursively invoking remove(child)
|
||||
{
|
||||
return bind( &recursive_call, &AssetManager::instance(), _1 );
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
|||
|
|
@ -42,7 +42,7 @@ namespace mobject {
|
|||
|
||||
|
||||
|
||||
/** initialize the most basic internal defaults. */
|
||||
/** initialise the most basic internal defaults. */
|
||||
DefsManager::DefsManager () throw()
|
||||
: defsRegistry(new DefsRegistry)
|
||||
{
|
||||
|
|
@ -142,11 +142,10 @@ namespace mobject {
|
|||
#include "proc/asset/track.hpp"
|
||||
#include "proc/mobject/session/track.hpp"
|
||||
|
||||
namespace mobject
|
||||
{
|
||||
namespace session
|
||||
{
|
||||
|
||||
namespace mobject {
|
||||
namespace session {
|
||||
|
||||
|
||||
using asset::Pipe;
|
||||
using asset::PPipe;
|
||||
using asset::ProcPatt;
|
||||
|
|
@ -164,7 +163,8 @@ namespace mobject
|
|||
|
||||
template bool DefsManager::define (const PPipe&, const Query<Pipe>&);
|
||||
template bool DefsManager::forget (const PPipe&);
|
||||
|
||||
|
||||
|
||||
} // namespace mobject::session
|
||||
|
||||
} // namespace mobject
|
||||
|
|
|
|||
Loading…
Reference in a new issue